
<%--
  Created by IntelliJ IDEA.
  User: 15154
  Date: 2020/10/10
  Time: 15:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>用户管理</title>
    <link rel="stylesheet" href="${pageContext.servletContext.contextPath}/resources/layui/css/layui.css">

</head>
<body>
<img style="width: 200px;height: 50px;" src="${pageContext.servletContext.contextPath}/resources/images/img.png">
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>充值中心</legend>
</fieldset>
<form method="post" action="/addMoney">
    <div class="layui-form">
        <table class="layui-table">
            <colgroup>
                <col width="150">
                <col width="150">
                <col width="200">
                <col>
            </colgroup>
            <thead>
            <tr>
                <th>充值中心</th>
                <th></th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>用户学号</td>
                <td><input type="text" readonly value="${sessionScope.stuNumber}" name="stuNumber" lay-verify="title" autocomplete="off" class="layui-input"></td>

            </tr>
            <tr>
                <td>用户姓名</td>
                <td><input type="text" readonly value="${sessionScope.stuName}" name="userNumber" lay-verify="title" autocomplete="off" class="layui-input"></td>
            </tr>
            <tr>
                <td>充值积分</td>
                <td><input type="text" name="money" lay-verify="title" autocomplete="off" placeholder="1元=10积分" class="layui-input"></td>
            </tr>
            <tr>
                <td></td>
                <td rowspan="1"><input type="submit" class="layui-btn layui-btn-normal layui-btn-radius"></td>
            </tr>
            </tbody>
        </table>
    </div>
</form>
<script src="${pageContext.servletContext.contextPath}/resources/layui/layui.js"></script>
<script type="text/javascript">
    layui.use([ 'jquery', 'layer', 'form', 'table','laydate' ], function() {
        var $ = layui.jquery;
        var layer = layui.layer;
        var form = layui.form;
        var table = layui.table;
        var laydate=layui.laydate;

        //绑定时间选择器
        laydate.render({
            elem:'#startTime'
        });
        laydate.render({
            elem:'#endTime'
        });
    });
</script>
</body>
</html>
